import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:honeypotflutter/modules/login/pages/login_register/view.dart';
import 'package:honeypotflutter/public/public_get.dart';
import 'package:honeypotflutter/publicBussine/bussine_colors.dart';
import 'package:honeypotflutter/publicBussine/bussine_font.dart';
import 'package:honeypotflutter/router/bussine_router_url.dart';

class LoginButtons extends StatelessWidget {
  const LoginButtons({super.key});

  @override
  Widget build(BuildContext context) {
    return Container(
      child: Row(
        mainAxisAlignment: MainAxisAlignment.spaceBetween,
        children: [
          TextButton(
              child: Text("忘记密码?",
                  style: TextStyle(
                    fontSize: MGFont.textFont2,
                    color: MGColors.text2Color,
                  )),
              onPressed: () {
                HLGet.toNamed(MGRouterUrl.login_forget);
              }),
          TextButton(
              child: Text("注册",
                  style: TextStyle(
                    fontSize: MGFont.textFont2,
                    color: MGColors.blueColor,
                  )),
              onPressed: () {
                HLGet.to(LoginRegisterPage());
              })
        ],
      ),
    );
  }
}
